function showSystemAbnormalToast() {
  wx.showToast({
    title: '服务器罢工，小二正在抢修中',
  })
}

/**
 * toast弹窗
 */
function toastShow(_this, str) {
  _this.setData({
    isShow: true,
    txt: str,
  });
  setTimeout(function() { //toast消失
    _this.setData({
      isShow: false
    });
  }, 1500);
}
module.exports = {
  showSystemAbnormalToast: showSystemAbnormalToast,
  toastShow: toastShow
}